@thirdPartyPay
@online
Feature: regular-PC-三方
File name: thirdPartyPay.regular.pc.feature
Relative path: thirdPartyPay/thirdPartyPay.regular.pc.feature
Given
切换账号'_TIHK113ljr5vq5bl'
10:59:04.416
Given
创建一笔IBU的支付订单并进入收银台
2339:26:38.001
| platform | ONLINE |
|---|---|
| merchantId | 200184 |
| currency | EUR |
| amount | 600 |
| locale | en-US |
| uid | _TIHK113ljr5vq5bl |
Then
选择GooglePay支付
201:49:33.456
Then
GooglePay支付按钮展示正常
122:50:02.080
Then
点击支付首页下底部GooglePay支付按钮
128:11:02.084
Given
切换账号'_TIHK113ljr5vq5bl'
12:20:24.164
Given
创建一笔IBU的支付订单并进入收银台
2268:41:23.250
| platform | ONLINE |
|---|---|
| merchantId | 200184 |
| currency | HKD |
| amount | 9000 |
| locale | zh-HK |
| uid | _TIHK113ljr5vq5bl |
Then
选择支付类'AlipayHK'
221:13:09.916
Then
'AlipayHK'支付提交
44:32:29.790
Then
等待请求'submitPayment'响应并校验code等于100000
603:22:15.040
Then
查询页面在展示浮层,并查询浮层内有二维码
02:27:05.165
Then
当前浮层图标,币种、金额展示正确
13:45:01.498
Given
切换账号'_TIHK113ljr5vq5bl'
13:43:26.789
Error: Error: 102查询失败Error: [2mexpect([22m[31mreceived[39m[2m).[22mtoEqual[2m([22m[32mexpected[39m[2m) // deep equality[22m
Expected: [32m100000[39m
Received: [31m3[39m
at World.(anonymous) (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/common/createPayOrder.steps.ts:35:11)
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/common/createPayOrder.steps.ts:44:23)
at Object.throw (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/common/createPayOrder.steps.ts:25:53)
at rejected (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/common/createPayOrder.steps.ts:17:65)
| platform | ONLINE |
|---|---|
| merchantId | 200184 |
| currency | HKD |
| amount | 9000 |
| locale | zh-HK |
| uid | _TIHK113ljr5vq5bl |
Then
选择支付类'WeChat'
0s
Then
'WeChat'支付提交
0s
Then
等待请求'submitPayment'响应并校验code等于100000
0s
Then
查询页面在展示浮层,并查询浮层内有二维码
0s
Then
当前浮层图标,币种、金额展示正确
0s
Given
切换账号'_TIHK113ljr5vq5bl'
14:14:24.665
Given
创建一笔IBU的支付订单并进入收银台
2265:45:51.875
| platform | ONLINE |
|---|---|
| merchantId | 200184 |
| currency | HKD |
| amount | 200 |
| locale | zh-HK |
| uid | _TIHK113ljr5vq5bl |
Then
选择支付类'PayMe'
224:30:06.123
Then
'PayMe'支付提交
33:20:55.499
Then
等待请求'submitPayment'响应并校验code等于100000
429:03:19.624
Error: Error: 页面没有展示浮层
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/common/utils.ts:83:11
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/common/utils.ts:33:23)
at Object.next (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/common/utils.ts:14:53)
at fulfilled (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/common/utils.ts:5:58)
Then
当前浮层图标,币种、金额展示正确
0s
Given
切换账号'_TIHK113ljr5vq5bl'
13:54:22.293
Given
创建一笔IBU的支付订单并进入收银台
2413:10:53.124
| platform | ONLINE |
|---|---|
| merchantId | 200184 |
| currency | EUR |
| amount | 600 |
| locale | nl-NL |
| uid | _TIHK113ljr5vq5bl |
Then
选择支付类'IDEAL'
902:36:17.540
Then
支付提交且submitPayment正常响应
517:26:57.708
Error: IDEAL支付页跳转失败:Error: [31mTimed out 5000ms waiting for [39m[2mexpect([22m[31mlocator[39m[2m).[22mtoHaveCount[2m([22m[32mexpected[39m[2m)[22m
Locator: locator('.common-SectionTitle')
Expected: [32m1[39m
Received: [31m0[39m
Call log:
[2m- locator._expect with timeout 5000ms[22m
[2m - waiting for locator('.common-SectionTitle')[22m
[2m - locator resolved to 0 elements[22m
[2m - unexpected value "0"[22m
[2m - locator resolved to 0 elements[22m
[2m - unexpected value "0"[22m
[2m - locator resolved to 0 elements[22m
[2m - unexpected value "0"[22m
[2m - locator resolved to 0 elements[22m
[2m - unexpected value "0"[22m
[2m - locator resolved to 0 elements[22m
[2m - unexpected value "0"[22m
[2m - locator resolved to 0 elements[22m
[2m - unexpected value "0"[22m
[2m - locator resolved to 0 elements[22m
[2m - unexpected value "0"[22m
[2m - locator resolved to 0 elements[22m
[2m - unexpected value "0"[22m
[2m - locator resolved to 0 elements[22m
[2m - unexpected value "0"[22m
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/thirdParty/utils.ts:175:13
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/thirdParty/utils.ts:33:23)
at Object.throw (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/thirdParty/utils.ts:14:53)
at rejected (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/thirdParty/utils.ts:6:65)
Given
切换账号'_TIHK113ljr5vq5bl'
04:08:46.792
Given
创建一笔IBU的支付订单并进入收银台
1403:36:24.206
| platform | ONLINE |
|---|---|
| merchantId | 200184 |
| currency | SGD |
| amount | 300 |
| locale | zh-HK |
| uid | _TIHK113ljr5vq5bl |
Then
选择支付类'PayNow'
76:15:19.039
Then
'PayNow'支付提交
22:00:30.708
Then
等待请求'submitPayment'响应并校验code等于100000
453:14:18.039
Error: Error: 页面没有展示浮层
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/common/utils.ts:83:11
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/common/utils.ts:33:23)
at Object.next (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/common/utils.ts:14:53)
at fulfilled (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/common/utils.ts:5:58)
Then
当前浮层图标,币种、金额展示正确
0s
Given
切换账号'_TIHK113ljr5vq5bl'
01:48:31.542
Given
创建一笔IBU的支付订单并进入收银台
1341:50:01.165
| platform | ONLINE |
|---|---|
| merchantId | 200184 |
| currency | PHP |
| amount | 10000 |
| locale | zh-HK |
| uid | _TIHK113ljr5vq5bl |
Then
选择支付类'GCASH'
51:19:59.499
Then
'GCASH'支付提交
37:39:54.000
Then
等待请求'submitPayment'响应并校验code等于100000
659:43:04.792
Then
查询页面在展示浮层,并查询浮层内有二维码
03:29:47.332
Then
当前浮层图标,币种、金额展示正确
15:53:35.999
Given
切换账号'_TIHK113ljr5vq5bl'
02:43:25.623
Given
创建一笔IBU的支付订单并进入收银台
1332:30:59.665
| platform | ONLINE |
|---|---|
| merchantId | 200184 |
| currency | THB |
| amount | 600 |
| locale | en-US |
| uid | _TIHK113ljr5vq5bl |
Then
选择支付类'PromptPay'
78:58:12.957
Then
'PromptPay'支付提交
35:44:17.207
Then
等待请求'submitPayment'响应并校验code等于100000
378:38:52.915
Then
查询页面在展示浮层,并查询浮层内有二维码
02:00:55.000
Then
当前浮层图标,币种、金额展示正确
15:19:24.541
@thirdPartyPay
@online
Scenario Outline: 三方支付+coins+egift混付流程:WeChat(展示二维码浮层)
Given
使用Mock配置'queryEGift'
03:31:21.874
Given
切换账号'_TIHK113ljr5vq5bl'
06:23:37.415
Given
创建一笔IBU的支付订单并进入收银台
1271:33:30.916
| platform | ONLINE |
|---|---|
| merchantId | 200184 |
| currency | HKD |
| amount | 12.73 |
| locale | zh-HK |
| uid | _TIHK113ljr5vq5bl |
Error: [31mTimed out 5000ms waiting for [39m[2mexpect([22m[31mlocator[39m[2m).[22mtoContainText[2m([22m[32mexpected[39m[2m)[22m
Locator: locator('#ui-auto-test-pc-OfficialPaySelection-COINS').locator('.official-item-total-text')
Expected string: [32m"10"[39m
Received string: [31m"- HK$0.78"[39m
Call log:
[2m- locator._expect with timeout 5000ms[22m
[2m - waiting for locator('#ui-auto-test-pc-OfficialPaySelection-COINS').locator('.official-item-total-text')[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- HK$12.73"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- HK$12.73"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- HK$12.73"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- HK$0.78"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- HK$0.78"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- HK$0.78"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- HK$0.78"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- HK$0.78"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- HK$0.78"[22m
at Proxy.(anonymous) (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/node_modules/playwright/lib/matchers/expect.js:174:37)
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:43:61
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:33:23)
at Object.next (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:14:53)
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:8:71
at __awaiter (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:4:12)
at showCoinsNum (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:39:56)
at World.(anonymous) (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/click.steps.ts:20:21)
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/click.steps.ts:33:23)
Then
等待2秒
0s
Then
勾选礼品卡
0s
Then
新增并使用礼品卡
0s
| cardNumber | cardPin |
|---|---|
| 4419 7864 1865 | 846602 |
Then
选择支付类'WeChat'
0s
Then
'WeChat'支付提交
0s
Then
等待请求'submitPayment'响应并校验code等于100000
0s
Then
校验服务submitPayment上送信息
0s
| coinsAmount | 0.78 |
|---|---|
| eGiftAmount | 1 |
| thirdPayAmount | 10.95 |
Then
查询页面在展示浮层,并查询浮层内有二维码
0s
@thirdPartyPay
@online
Scenario Outline: 三方支付+coins+egift混付流程:payMe(展示二维码浮层)
Given
使用Mock配置'queryEGift'
06:05:10.417
Given
切换账号'_TIHK113ljr5vq5bl'
02:05:57.041
Given
创建一笔IBU的支付订单并进入收银台
1215:55:18.708
| platform | ONLINE |
|---|---|
| merchantId | 200184 |
| currency | HKD |
| amount | 90 |
| locale | zh-HK |
| uid | _TIHK113ljr5vq5bl |
Error: [31mTimed out 5000ms waiting for [39m[2mexpect([22m[31mlocator[39m[2m).[22mtoContainText[2m([22m[32mexpected[39m[2m)[22m
Locator: locator('#ui-auto-test-pc-OfficialPaySelection-COINS').locator('.official-item-total-text')
Expected string: [32m"10"[39m
Received string: [31m"- HK$0.78"[39m
Call log:
[2m- locator._expect with timeout 5000ms[22m
[2m - waiting for locator('#ui-auto-test-pc-OfficialPaySelection-COINS').locator('.official-item-total-text')[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- HK$90.00"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- HK$90.00"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- HK$90.00"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- HK$90.00"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- HK$0.78"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- HK$0.78"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- HK$0.78"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- HK$0.78"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- HK$0.78"[22m
at Proxy.(anonymous) (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/node_modules/playwright/lib/matchers/expect.js:174:37)
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:43:61
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:33:23)
at Object.next (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:14:53)
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:8:71
at __awaiter (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:4:12)
at showCoinsNum (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:39:56)
at World.(anonymous) (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/click.steps.ts:20:21)
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/click.steps.ts:33:23)
Then
等待2秒
0s
Then
勾选礼品卡
0s
Then
新增并使用礼品卡
0s
| cardNumber | cardPin |
|---|---|
| 4419 7864 1865 | 846602 |
Then
选择支付类'payMe'
0s
Then
'payMe'支付提交
0s
Then
等待请求'submitPayment'响应并校验code等于100000
0s
Then
校验服务submitPayment上送信息
0s
| coinsAmount | 0.78 |
|---|---|
| eGiftAmount | 1 |
| thirdPayAmount | 87.22 |
Then
查询页面在展示浮层,并查询浮层内有二维码
0s
@thirdPartyPay
@online
Scenario Outline: 三方支付+coins+egift混付流程:AlipayHK(展示二维码浮层)
Given
使用Mock配置'queryEGift'
03:40:48.791
Given
切换账号'_TIHK113ljr5vq5bl'
01:49:02.624
Given
创建一笔IBU的支付订单并进入收银台
1023:01:07.749
| platform | ONLINE |
|---|---|
| merchantId | 200184 |
| currency | HKD |
| amount | 12.73 |
| locale | zh-HK |
| uid | _TIHK113ljr5vq5bl |
Error: [31mTimed out 5000ms waiting for [39m[2mexpect([22m[31mlocator[39m[2m).[22mtoContainText[2m([22m[32mexpected[39m[2m)[22m
Locator: locator('#ui-auto-test-pc-OfficialPaySelection-COINS').locator('.official-item-total-text')
Expected string: [32m"10"[39m
Received string: [31m"- HK$0.78"[39m
Call log:
[2m- locator._expect with timeout 5000ms[22m
[2m - waiting for locator('#ui-auto-test-pc-OfficialPaySelection-COINS').locator('.official-item-total-text')[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- HK$12.73"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- HK$12.73"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- HK$12.73"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- HK$0.78"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- HK$0.78"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- HK$0.78"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- HK$0.78"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- HK$0.78"[22m
at Proxy.(anonymous) (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/node_modules/playwright/lib/matchers/expect.js:174:37)
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:43:61
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:33:23)
at Object.next (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:14:53)
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:8:71
at __awaiter (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:4:12)
at showCoinsNum (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:39:56)
at World.(anonymous) (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/click.steps.ts:20:21)
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/click.steps.ts:33:23)
Then
等待2秒
0s
Then
勾选礼品卡
0s
Then
新增并使用礼品卡
0s
| cardNumber | cardPin |
|---|---|
| 4419 7864 1865 | 846602 |
Then
选择支付类'AlipayHK'
0s
Then
'AlipayHK'支付提交
0s
Then
等待请求'submitPayment'响应并校验code等于100000
0s
Then
校验服务submitPayment上送信息
0s
| coinsAmount | 0.78 |
|---|---|
| eGiftAmount | 1 |
| thirdPayAmount | 10.95 |
Then
查询页面在展示浮层,并查询浮层内有二维码
0s
@thirdPartyPay
@online
Scenario Outline: 三方支付+coins+egift混付流程:PayNow(展示二维码浮层)
Given
使用Mock配置'queryEGift'
03:14:55.832
Given
切换账号'_TIHK113ljr5vq5bl'
02:40:13.333
Given
创建一笔IBU的支付订单并进入收银台
1669:03:21.332
| platform | ONLINE |
|---|---|
| merchantId | 200184 |
| currency | SGD |
| amount | 300 |
| locale | zh-HK |
| uid | _TIHK113ljr5vq5bl |
Error: [31mTimed out 5000ms waiting for [39m[2mexpect([22m[31mlocator[39m[2m).[22mtoContainText[2m([22m[32mexpected[39m[2m)[22m
Locator: locator('#ui-auto-test-pc-OfficialPaySelection-COINS').locator('.official-item-total-text')
Expected string: [32m"10"[39m
Received string: [31m"- SGD 0.13"[39m
Call log:
[2m- locator._expect with timeout 5000ms[22m
[2m - waiting for locator('#ui-auto-test-pc-OfficialPaySelection-COINS').locator('.official-item-total-text')[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- SGD 300.00"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- SGD 300.00"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- SGD 300.00"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- SGD 300.00"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- SGD 0.13"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- SGD 0.13"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- SGD 0.13"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- SGD 0.13"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- SGD 0.13"[22m
at Proxy.(anonymous) (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/node_modules/playwright/lib/matchers/expect.js:174:37)
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:43:61
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:33:23)
at Object.next (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:14:53)
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:8:71
at __awaiter (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:4:12)
at showCoinsNum (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:39:56)
at World.(anonymous) (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/click.steps.ts:20:21)
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/click.steps.ts:33:23)
Then
等待2秒
0s
Then
勾选礼品卡
0s
Then
新增并使用礼品卡
0s
| cardNumber | cardPin |
|---|---|
| 4419 7864 1865 | 846602 |
Then
选择支付类'PayNow'
0s
Then
'PayNow'支付提交
0s
Then
等待请求'submitPayment'响应并校验code等于100000
0s
Then
校验服务submitPayment上送信息
0s
| coinsAmount | 0.13 |
|---|---|
| eGiftAmount | 1 |
| thirdPayAmount | 298.87 |
Then
查询页面在展示浮层,并查询浮层内有二维码
0s
@thirdPartyPay
@online
Scenario Outline: 三方支付+coins+egift混付流程:GCASH(展示二维码浮层)
Given
使用Mock配置'queryEGift'
02:30:10.082
Given
切换账号'_TIHK113ljr5vq5bl'
01:13:16.458
Given
创建一笔IBU的支付订单并进入收银台
1515:36:08.500
| platform | ONLINE |
|---|---|
| merchantId | 200184 |
| currency | PHP |
| amount | 10000 |
| locale | zh-HK |
| uid | _TIHK113ljr5vq5bl |
Then
更改coins的使用数量为10
456:26:18.917
Then
等待2秒
561:29:19.790
Then
勾选礼品卡
57:45:33.332
Then
新增并使用礼品卡
92:40:57.874
| cardNumber | cardPin |
|---|---|
| 4419 7864 1865 | 846602 |
Then
选择支付类'GCASH'
29:09:18.082
Then
'GCASH'支付提交
23:16:46.708
Then
等待请求'submitPayment'响应并校验code等于100000
727:42:51.875
Error: [2mexpect([22m[31mreceived[39m[2m).[22mtoBe[2m([22m[32mexpected[39m[2m) // Object.is equality[22m
Expected: [32m"5.5[7m4[27m"[39m
Received: [31m"5.5[7m3[27m"[39m
at Proxy.(anonymous) (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/node_modules/playwright/lib/matchers/expect.js:174:37)
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/paymentCompleted/utils.ts:63:24
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/paymentCompleted/utils.ts:33:23)
at Object.next (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/paymentCompleted/utils.ts:14:53)
at fulfilled (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/paymentCompleted/utils.ts:5:58)
| coinsAmount | 5.54 |
|---|---|
| eGiftAmount | 1 |
| thirdPayAmount | 9993.46 |
Then
查询页面在展示浮层,并查询浮层内有二维码
0s
@thirdPartyPay
@online
Scenario Outline: 三方支付+coins+egift混付流程:PromptPay(展示二维码浮层)
Given
使用Mock配置'queryEGift'
01:07:08.374
Given
切换账号'_TIHK113ljr5vq5bl'
04:09:18.875
Given
创建一笔IBU的支付订单并进入收银台
1311:08:11.542
| platform | ONLINE |
|---|---|
| merchantId | 200184 |
| currency | THB |
| amount | 600 |
| locale | en-US |
| uid | _TIHK113ljr5vq5bl |
Error: [31mTimed out 5000ms waiting for [39m[2mexpect([22m[31mlocator[39m[2m).[22mtoContainText[2m([22m[32mexpected[39m[2m)[22m
Locator: locator('#ui-auto-test-pc-OfficialPaySelection-COINS').locator('.official-item-total-text')
Expected string: [32m"10"[39m
Received string: [31m"- THB 3.56"[39m
Call log:
[2m- locator._expect with timeout 5000ms[22m
[2m - waiting for locator('#ui-auto-test-pc-OfficialPaySelection-COINS').locator('.official-item-total-text')[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- THB 600.00"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- THB 600.00"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- THB 600.00"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- THB 3.56"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- THB 3.56"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- THB 3.56"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- THB 3.56"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- THB 3.56"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- THB 3.56"[22m
at Proxy.(anonymous) (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/node_modules/playwright/lib/matchers/expect.js:174:37)
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:43:61
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:33:23)
at Object.next (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:14:53)
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:8:71
at __awaiter (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:4:12)
at showCoinsNum (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:39:56)
at World.(anonymous) (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/click.steps.ts:20:21)
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/click.steps.ts:33:23)
Then
等待2秒
0s
Then
勾选礼品卡
0s
Then
新增并使用礼品卡
0s
| cardNumber | cardPin |
|---|---|
| 4419 7864 1865 | 846602 |
Then
选择支付类'PromptPay'
0s
Then
'PromptPay'支付提交
0s
Then
等待请求'submitPayment'响应并校验code等于100000
0s
Then
校验服务submitPayment上送信息
0s
| coinsAmount | 3.57 |
|---|---|
| eGiftAmount | 1 |
| thirdPayAmount | 595.43 |
Then
查询页面在展示浮层,并查询浮层内有二维码
0s
Given
切换账号'_TIHK113ljr5vq5bl'
03:12:07.999
Given
创建一笔IBU的支付订单并进入收银台
1467:35:36.624
| platform | ONLINE |
|---|---|
| merchantId | 200184 |
| currency | KRW |
| amount | 9000 |
| locale | zh-HK |
| uid | _TIHK113ljr5vq5bl |
Then
选择支付类'Naver'
72:14:03.500
Then
'Naver'支付提交
24:48:24.456
Then
等待请求'submitPayment'响应并校验code等于100000
410:48:01.875
Error: 本页没跳转到一个包含(naver)的URL
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:457:13
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:33:23)
at Object.throw (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:14:53)
at rejected (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:6:65)
Given
切换账号'_TIHK113ljr5vq5bl'
04:17:55.500
Given
创建一笔IBU的支付订单并进入收银台
1238:51:06.167
| platform | ONLINE |
|---|---|
| merchantId | 200184 |
| currency | THB |
| amount | 200 |
| locale | zh-HK |
| uid | _TIHK113ljr5vq5bl |
Then
选择支付类'Transfer'
71:46:33.124
Then
'Transfer'支付提交
20:03:11.625
Then
等待请求'submitPayment'响应并校验code等于100000
1062:29:57.289
Error: 本页没跳转到一个包含(transfer)的URL
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:457:13
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:33:23)
at Object.throw (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:14:53)
at rejected (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:6:65)
at runNextTicks (node:internal/process/task_queues:61:5)
at listOnTimeout (node:internal/timers:528:9)
at processTimers (node:internal/timers:502:7)
Given
切换账号'_TIHK113ljr5vq5bl'
05:34:43.124
Given
创建一笔IBU的支付订单并进入收银台
1559:08:25.832
| platform | ONLINE |
|---|---|
| merchantId | 200184 |
| currency | THB |
| amount | 9000 |
| locale | zh-HK |
| uid | _TIHK113ljr5vq5bl |
Then
选择支付类'KPLUS'
68:42:23.581
Then
'KPLUS'支付提交
22:51:03.625
Then
等待请求'submitPayment'响应并校验code等于100000
922:01:08.207
Error: 本页没跳转到一个包含(kplus)的URL
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:457:13
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:33:23)
at Object.throw (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:14:53)
at rejected (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:6:65)
at runNextTicks (node:internal/process/task_queues:61:5)
at listOnTimeout (node:internal/timers:528:9)
at processTimers (node:internal/timers:502:7)
Given
切换账号'_TIHK113ljr5vq5bl'
01:56:12.124
Given
创建一笔IBU的支付订单并进入收银台
1636:23:26.542
| platform | ONLINE |
|---|---|
| merchantId | 200184 |
| currency | MYR |
| amount | 300 |
| locale | zh-HK |
| uid | _TIHK113ljr5vq5bl |
Then
选择支付类'FPX'
55:58:44.000
Then
'FPX'支付提交
29:40:44.041
Then
等待请求'submitPayment'响应并校验code等于100000
435:01:52.207
Error: 本页没跳转到一个包含(fpx)的URL
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:457:13
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:33:23)
at Object.throw (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:14:53)
at rejected (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:6:65)
Given
切换账号'_TIHK113ljr5vq5bl'
03:49:18.415
Given
创建一笔IBU的支付订单并进入收银台
1719:06:29.455
| platform | ONLINE |
|---|---|
| merchantId | 200184 |
| currency | JPY |
| amount | 555 |
| locale | zh-HK |
| uid | _TIHK113ljr5vq5bl |
Then
选择支付类'LINEPAY'
52:50:11.916
Then
'LINEPAY'支付提交
17:56:46.874
Then
等待请求'submitPayment'响应并校验code等于100000
930:14:57.291
Then
等待'LINEPAY'跳转
349:32:13.125
Given
切换账号'_TIHK113ljr5vq5bl'
00:55:52.082
Given
创建一笔IBU的支付订单并进入收银台
1287:25:19.914
| platform | ONLINE |
|---|---|
| merchantId | 200184 |
| currency | SGD |
| amount | 300 |
| locale | zh-HK |
| uid | _TIHK113ljr5vq5bl |
Then
选择支付类'Atome'
49:07:31.999
Then
'Atome'支付提交
16:45:14.581
Then
等待请求'submitPayment'响应并校验code等于100000
438:45:05.209
Error: 本页没跳转到一个包含(atome)的URL
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:457:13
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:33:23)
at Object.throw (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:14:53)
at rejected (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:6:65)
Given
切换账号'_TIHK113ljr5vq5bl'
01:51:58.623
Given
创建一笔IBU的支付订单并进入收银台
1606:30:54.084
| platform | ONLINE |
|---|---|
| merchantId | 200184 |
| currency | EUR |
| amount | 10000 |
| locale | de-DE |
| uid | _TIHK113ljr5vq5bl |
Then
选择支付类'Klarna'
84:11:22.459
Then
'Klarna'支付提交
27:12:55.458
Then
等待请求'submitPayment'响应并校验code等于100000
715:57:22.999
Error: 本页没跳转到一个包含(klarna)的URL
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:457:13
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:33:23)
at Object.throw (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:14:53)
at rejected (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:6:65)
at runNextTicks (node:internal/process/task_queues:61:5)
at listOnTimeout (node:internal/timers:528:9)
at processTimers (node:internal/timers:502:7)
Given
切换账号'_TIHK113ljr5vq5bl'
02:35:25.917
Given
创建一笔IBU的支付订单并进入收银台
1539:40:28.664
| platform | ONLINE |
|---|---|
| merchantId | 200184 |
| currency | IDR |
| amount | 600 |
| locale | en-US |
| uid | _TIHK113ljr5vq5bl |
Then
选择支付类'OVO'
72:35:00.625
Then
'OVO'支付提交
36:12:52.832
Then
等待请求'submitPayment'响应并校验code等于100000
455:25:38.456
Error: 本页没跳转到一个包含(ovo)的URL
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:457:13
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:33:23)
at Object.throw (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:14:53)
at rejected (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:6:65)
@thirdPartyPay
@online
Scenario Outline: 三方支付+coins+egift混付流程:Naver (跳转支付方式)
Given
使用Mock配置'queryEGift'
02:17:28.000
Given
切换账号'_TIHK113ljr5vq5bl'
03:06:19.539
Given
创建一笔IBU的支付订单并进入收银台
1822:23:02.415
| platform | ONLINE |
|---|---|
| merchantId | 200184 |
| currency | KRW |
| amount | 10000 |
| locale | zh-HK |
| uid | _TIHK113ljr5vq5bl |
Then
更改coins的使用数量为10
251:22:07.040
Then
等待1秒
280:28:11.581
Then
勾选礼品卡
28:59:02.416
Then
新增并使用礼品卡
58:24:12.083
| cardNumber | cardPin |
|---|---|
| 4419 7864 1865 | 846602 |
Then
选择支付类'Naver'
28:46:43.708
Then
支付提交且submitPayment正常响应
647:57:35.165
Then
校验服务submitPayment上送信息
84:15:38.334
| coinsAmount | 131 |
|---|---|
| eGiftAmount | 1 |
| thirdPayAmount | 9868 |
Error: 本页没跳转到一个包含(naver)的URL
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:457:13
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:33:23)
at Object.throw (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:14:53)
at rejected (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:6:65)
@thirdPartyPay
@online
Scenario Outline: 三方支付+coins+egift混付流程:Transfer (跳转支付方式)
Given
使用Mock配置'queryEGift'
01:06:48.873
Given
切换账号'_TIHK113ljr5vq5bl'
02:08:28.041
Given
创建一笔IBU的支付订单并进入收银台
1339:37:34.541
| platform | ONLINE |
|---|---|
| merchantId | 200184 |
| currency | THB |
| amount | 200 |
| locale | zh-HK |
| uid | _TIHK113ljr5vq5bl |
Error: [31mTimed out 5000ms waiting for [39m[2mexpect([22m[31mlocator[39m[2m).[22mtoContainText[2m([22m[32mexpected[39m[2m)[22m
Locator: locator('#ui-auto-test-pc-OfficialPaySelection-COINS').locator('.official-item-total-text')
Expected string: [32m"10"[39m
Received string: [31m"- THB 3.56"[39m
Call log:
[2m- locator._expect with timeout 5000ms[22m
[2m - waiting for locator('#ui-auto-test-pc-OfficialPaySelection-COINS').locator('.official-item-total-text')[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- THB 200.00"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- THB 200.00"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- THB 200.00"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- THB 3.56"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- THB 3.56"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- THB 3.56"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- THB 3.56"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- THB 3.56"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- THB 3.56"[22m
at Proxy.(anonymous) (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/node_modules/playwright/lib/matchers/expect.js:174:37)
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:43:61
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:33:23)
at Object.next (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:14:53)
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:8:71
at __awaiter (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:4:12)
at showCoinsNum (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:39:56)
at World.(anonymous) (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/click.steps.ts:20:21)
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/click.steps.ts:33:23)
Then
等待1秒
0s
Then
勾选礼品卡
0s
Then
新增并使用礼品卡
0s
| cardNumber | cardPin |
|---|---|
| 4419 7864 1865 | 846602 |
Then
选择支付类'Transfer'
0s
Then
支付提交且submitPayment正常响应
0s
Then
校验服务submitPayment上送信息
0s
| coinsAmount | 3.54 |
|---|---|
| eGiftAmount | 1 |
| thirdPayAmount | 195.46 |
Then
等待'Transfer'跳转
0s
@thirdPartyPay
@online
Scenario Outline: 三方支付+coins+egift混付流程:Transfer (跳转支付方式)
Given
使用Mock配置'queryEGift'
00:37:53.416
Given
切换账号'_TIHK113ljr5vq5bl'
01:04:56.040
Given
创建一笔IBU的支付订单并进入收银台
980:32:35.665
| platform | ONLINE |
|---|---|
| merchantId | 200184 |
| currency | IDR |
| amount | 200 |
| locale | zh-HK |
| uid | _TIHK113ljr5vq5bl |
Error: 更改coins的使用数量失败Error: [31mTimed out 5000ms waiting for [39m[2mexpect([22m[31mlocator[39m[2m).[22mtoHaveCount[2m([22m[32mexpected[39m[2m)[22m
Locator: locator('.trip_coins_change')
Expected: [32m1[39m
Received: [31m0[39m
Call log:
[2m- locator._expect with timeout 5000ms[22m
[2m - waiting for locator('.trip_coins_change')[22m
[2m - locator resolved to 0 elements[22m
[2m - unexpected value "0"[22m
[2m - locator resolved to 0 elements[22m
[2m - unexpected value "0"[22m
[2m - locator resolved to 0 elements[22m
[2m - unexpected value "0"[22m
[2m - locator resolved to 0 elements[22m
[2m - unexpected value "0"[22m
[2m - locator resolved to 0 elements[22m
[2m - unexpected value "0"[22m
[2m - locator resolved to 0 elements[22m
[2m - unexpected value "0"[22m
[2m - locator resolved to 0 elements[22m
[2m - unexpected value "0"[22m
[2m - locator resolved to 0 elements[22m
[2m - unexpected value "0"[22m
[2m - locator resolved to 0 elements[22m
[2m - unexpected value "0"[22m
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:35:11
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:33:23)
at Object.throw (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:14:53)
at rejected (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:6:65)
Then
等待1秒
0s
Then
勾选礼品卡
0s
Then
新增并使用礼品卡
0s
| cardNumber | cardPin |
|---|---|
| 4419 7864 1865 | 846602 |
Then
选择支付类'Transfer'
0s
Then
支付提交且submitPayment正常响应
0s
Then
校验服务submitPayment上送信息
0s
| coinsAmount | 3.54 |
|---|---|
| eGiftAmount | 1 |
| thirdPayAmount | 195.46 |
Then
等待'Transfer'跳转
0s
@thirdPartyPay
@online
Scenario Outline: 三方支付+coins+egift混付流程:KPLUS (跳转支付方式)
Given
使用Mock配置'queryEGift'
00:51:36.582
Given
切换账号'_TIHK113ljr5vq5bl'
00:59:39.041
Given
创建一笔IBU的支付订单并进入收银台
1228:18:15.749
| platform | ONLINE |
|---|---|
| merchantId | 200184 |
| currency | THB |
| amount | 9000 |
| locale | zh-HK |
| uid | _TIHK113ljr5vq5bl |
Error: [31mTimed out 5000ms waiting for [39m[2mexpect([22m[31mlocator[39m[2m).[22mtoContainText[2m([22m[32mexpected[39m[2m)[22m
Locator: locator('#ui-auto-test-pc-OfficialPaySelection-COINS').locator('.official-item-total-text')
Expected string: [32m"10"[39m
Received string: [31m"- THB 3.56"[39m
Call log:
[2m- locator._expect with timeout 5000ms[22m
[2m - waiting for locator('#ui-auto-test-pc-OfficialPaySelection-COINS').locator('.official-item-total-text')[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- THB 9,000.00"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- THB 9,000.00"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- THB 9,000.00"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- THB 3.56"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- THB 3.56"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- THB 3.56"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- THB 3.56"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- THB 3.56"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- THB 3.56"[22m
at Proxy.(anonymous) (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/node_modules/playwright/lib/matchers/expect.js:174:37)
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:43:61
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:33:23)
at Object.next (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:14:53)
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:8:71
at __awaiter (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:4:12)
at showCoinsNum (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:39:56)
at World.(anonymous) (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/click.steps.ts:20:21)
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/click.steps.ts:33:23)
Then
等待1秒
0s
Then
勾选礼品卡
0s
Then
新增并使用礼品卡
0s
| cardNumber | cardPin |
|---|---|
| 4419 7864 1865 | 846602 |
Then
选择支付类'KPLUS'
0s
Then
支付提交且submitPayment正常响应
0s
Then
校验服务submitPayment上送信息
0s
| coinsAmount | 3.54 |
|---|---|
| eGiftAmount | 1 |
| thirdPayAmount | 8995.46 |
Then
等待'KPLUS'跳转
0s
@thirdPartyPay
@online
Scenario Outline: 三方支付+coins+egift混付流程:FPX (跳转支付方式)
Given
使用Mock配置'queryEGift'
00:40:17.373
Given
切换账号'_TIHK113ljr5vq5bl'
01:18:35.915
Given
创建一笔IBU的支付订单并进入收银台
960:52:15.832
| platform | ONLINE |
|---|---|
| merchantId | 200184 |
| currency | MYR |
| amount | 300 |
| locale | zh-HK |
| uid | _TIHK113ljr5vq5bl |
Error: [31mTimed out 5000ms waiting for [39m[2mexpect([22m[31mlocator[39m[2m).[22mtoContainText[2m([22m[32mexpected[39m[2m)[22m
Locator: locator('#ui-auto-test-pc-OfficialPaySelection-COINS').locator('.official-item-total-text')
Expected string: [32m"10"[39m
Received string: [31m"- MYR 0.46"[39m
Call log:
[2m- locator._expect with timeout 5000ms[22m
[2m - waiting for locator('#ui-auto-test-pc-OfficialPaySelection-COINS').locator('.official-item-total-text')[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- MYR 300.00"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- MYR 300.00"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- MYR 300.00"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- MYR 0.46"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- MYR 0.46"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- MYR 0.46"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- MYR 0.46"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- MYR 0.46"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- MYR 0.46"[22m
at Proxy.(anonymous) (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/node_modules/playwright/lib/matchers/expect.js:174:37)
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:43:61
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:33:23)
at Object.next (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:14:53)
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:8:71
at __awaiter (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:4:12)
at showCoinsNum (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:39:56)
at World.(anonymous) (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/click.steps.ts:20:21)
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/click.steps.ts:33:23)
Then
等待1秒
0s
Then
勾选礼品卡
0s
Then
新增并使用礼品卡
0s
| cardNumber | cardPin |
|---|---|
| 4419 7864 1865 | 846602 |
Then
选择支付类'FPX'
0s
Then
支付提交且submitPayment正常响应
0s
Then
校验服务submitPayment上送信息
0s
| coinsAmount | 0.46 |
|---|---|
| eGiftAmount | 1 |
| thirdPayAmount | 298.54 |
Then
等待'FPX'跳转
0s
@thirdPartyPay
@online
Scenario Outline: 三方支付+coins+egift混付流程:LINEPAY (跳转支付方式)
Given
使用Mock配置'queryEGift'
00:39:10.123
Given
切换账号'_TIHK113ljr5vq5bl'
00:47:06.665
Given
创建一笔IBU的支付订单并进入收银台
1177:50:52.165
| platform | ONLINE |
|---|---|
| merchantId | 200184 |
| currency | JPY |
| amount | 555 |
| locale | zh-HK |
| uid | _TIHK113ljr5vq5bl |
Error: [31mTimed out 5000ms waiting for [39m[2mexpect([22m[31mlocator[39m[2m).[22mtoContainText[2m([22m[32mexpected[39m[2m)[22m
Locator: locator('#ui-auto-test-pc-OfficialPaySelection-COINS').locator('.official-item-total-text')
Expected string: [32m"10"[39m
Received string: [31m"- JPY 14"[39m
Call log:
[2m- locator._expect with timeout 5000ms[22m
[2m - waiting for locator('#ui-auto-test-pc-OfficialPaySelection-COINS').locator('.official-item-total-text')[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- JPY 555"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- JPY 555"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- JPY 555"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- JPY 14"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- JPY 14"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- JPY 14"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- JPY 14"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- JPY 14"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- JPY 14"[22m
at Proxy.(anonymous) (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/node_modules/playwright/lib/matchers/expect.js:174:37)
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:43:61
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:33:23)
at Object.next (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:14:53)
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:8:71
at __awaiter (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:4:12)
at showCoinsNum (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:39:56)
at World.(anonymous) (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/click.steps.ts:20:21)
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/click.steps.ts:33:23)
Then
等待1秒
0s
Then
勾选礼品卡
0s
Then
新增并使用礼品卡
0s
| cardNumber | cardPin |
|---|---|
| 4419 7864 1865 | 846602 |
Then
选择支付类'LINEPAY'
0s
Then
支付提交且submitPayment正常响应
0s
Then
校验服务submitPayment上送信息
0s
| coinsAmount | 131 |
|---|---|
| eGiftAmount | 1 |
| thirdPayAmount | 9868 |
Then
等待'LINEPAY'跳转
0s
@thirdPartyPay
@online
Scenario Outline: 三方支付+coins+egift混付流程:Atome (跳转支付方式)
Given
使用Mock配置'queryEGift'
00:45:55.749
Given
切换账号'_TIHK113ljr5vq5bl'
01:49:27.458
Given
创建一笔IBU的支付订单并进入收银台
1211:16:27.916
| platform | ONLINE |
|---|---|
| merchantId | 200184 |
| currency | SGD |
| amount | 300 |
| locale | zh-HK |
| uid | _TIHK113ljr5vq5bl |
Error: [31mTimed out 5000ms waiting for [39m[2mexpect([22m[31mlocator[39m[2m).[22mtoContainText[2m([22m[32mexpected[39m[2m)[22m
Locator: locator('#ui-auto-test-pc-OfficialPaySelection-COINS').locator('.official-item-total-text')
Expected string: [32m"10"[39m
Received string: [31m"- SGD 0.13"[39m
Call log:
[2m- locator._expect with timeout 5000ms[22m
[2m - waiting for locator('#ui-auto-test-pc-OfficialPaySelection-COINS').locator('.official-item-total-text')[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- SGD 300.00"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- SGD 300.00"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- SGD 300.00"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- SGD 0.13"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- SGD 0.13"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- SGD 0.13"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- SGD 0.13"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- SGD 0.13"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- SGD 0.13"[22m
at Proxy.(anonymous) (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/node_modules/playwright/lib/matchers/expect.js:174:37)
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:43:61
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:33:23)
at Object.next (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:14:53)
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:8:71
at __awaiter (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:4:12)
at showCoinsNum (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:39:56)
at World.(anonymous) (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/click.steps.ts:20:21)
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/click.steps.ts:33:23)
Then
等待1秒
0s
Then
勾选礼品卡
0s
Then
新增并使用礼品卡
0s
| cardNumber | cardPin |
|---|---|
| 4419 7864 1865 | 846602 |
Then
选择支付类'Atome'
0s
Then
支付提交且submitPayment正常响应
0s
Then
校验服务submitPayment上送信息
0s
| coinsAmount | 0.13 |
|---|---|
| eGiftAmount | 1 |
| thirdPayAmount | 298.87 |
Then
等待'Atome'跳转
0s
@thirdPartyPay
@online
Scenario Outline: 三方支付+coins+egift混付流程:Klarna (跳转支付方式)
Given
使用Mock配置'queryEGift'
00:39:47.206
Given
切换账号'_TIHK113ljr5vq5bl'
00:41:49.542
Given
创建一笔IBU的支付订单并进入收银台
1229:37:07.999
| platform | ONLINE |
|---|---|
| merchantId | 200184 |
| currency | EUR |
| amount | 10000 |
| locale | de-DE |
| uid | _TIHK113ljr5vq5bl |
Error: [31mTimed out 5000ms waiting for [39m[2mexpect([22m[31mlocator[39m[2m).[22mtoContainText[2m([22m[32mexpected[39m[2m)[22m
Locator: locator('#ui-auto-test-pc-OfficialPaySelection-COINS').locator('.official-item-total-text')
Expected string: [32m"10"[39m
Received string: [31m"- 0,09 €"[39m
Call log:
[2m- locator._expect with timeout 5000ms[22m
[2m - waiting for locator('#ui-auto-test-pc-OfficialPaySelection-COINS').locator('.official-item-total-text')[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- 912,60 €"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- 912,60 €"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- 912,60 €"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- 0,09 €"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- 0,09 €"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- 0,09 €"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- 0,09 €"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- 0,09 €"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- 0,09 €"[22m
at Proxy.(anonymous) (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/node_modules/playwright/lib/matchers/expect.js:174:37)
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:43:61
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:33:23)
at Object.next (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:14:53)
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:8:71
at __awaiter (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:4:12)
at showCoinsNum (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:39:56)
at World.(anonymous) (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/click.steps.ts:20:21)
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/click.steps.ts:33:23)
Then
等待1秒
0s
Then
勾选礼品卡
0s
Then
新增并使用礼品卡
0s
| cardNumber | cardPin |
|---|---|
| 4419 7864 1865 | 846602 |
Then
选择支付类'Klarna'
0s
Then
支付提交且submitPayment正常响应
0s
Then
校验服务submitPayment上送信息
0s
| coinsAmount | 0.09 |
|---|---|
| eGiftAmount | 1 |
| thirdPayAmount | 9998.91 |
Then
等待'Klarna'跳转
0s
@thirdPartyPay
@online
Scenario Outline: 三方支付+coins+egift混付流程:IDEAL (跳转支付方式)
Given
使用Mock配置'queryEGift'
00:43:14.250
Given
切换账号'_TIHK113ljr5vq5bl'
00:47:43.957
Given
创建一笔IBU的支付订单并进入收银台
1376:37:50.248
| platform | ONLINE |
|---|---|
| merchantId | 200184 |
| currency | EUR |
| amount | 10000 |
| locale | nl-NL |
| uid | _TIHK113ljr5vq5bl |
Error: [31mTimed out 5000ms waiting for [39m[2mexpect([22m[31mlocator[39m[2m).[22mtoContainText[2m([22m[32mexpected[39m[2m)[22m
Locator: locator('#ui-auto-test-pc-OfficialPaySelection-COINS').locator('.official-item-total-text')
Expected string: [32m"10"[39m
Received string: [31m"- € 0,09"[39m
Call log:
[2m- locator._expect with timeout 5000ms[22m
[2m - waiting for locator('#ui-auto-test-pc-OfficialPaySelection-COINS').locator('.official-item-total-text')[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- € 912,60"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- € 912,60"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- € 912,60"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- € 0,09"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- € 0,09"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- € 0,09"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- € 0,09"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- € 0,09"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- € 0,09"[22m
at Proxy.(anonymous) (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/node_modules/playwright/lib/matchers/expect.js:174:37)
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:43:61
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:33:23)
at Object.next (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:14:53)
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:8:71
at __awaiter (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:4:12)
at showCoinsNum (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:39:56)
at World.(anonymous) (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/click.steps.ts:20:21)
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/click.steps.ts:33:23)
Then
等待1秒
0s
Then
勾选礼品卡
0s
Then
新增并使用礼品卡
0s
| cardNumber | cardPin |
|---|---|
| 4419 7864 1865 | 846602 |
Then
选择支付类'IDEAL'
0s
Then
支付提交且submitPayment正常响应
0s
Then
校验服务submitPayment上送信息
0s
| coinsAmount | 0.09 |
|---|---|
| eGiftAmount | 1 |
| thirdPayAmount | 9998.91 |
Then
等待'IDEAL'跳转
0s
Given
切换账号'_TIHK113ljr5vq5bl'
01:23:47.667
Given
创建一笔IBU的支付订单并进入收银台
1338:18:01.833
| platform | ONLINE |
|---|---|
| merchantId | 200184 |
| currency | KRW |
| amount | 4900 |
| locale | en-US |
| uid | _TIHK113ljr5vq5bl |
Then
选择支付类'KakaoPay'
60:36:25.209
Then
填写三方要素信息'{"thirdPayerName": "bob", "thirdMobileNum": "12345678910"}'
402:27:07.831
Then
支付提交且submitPayment正常响应
467:04:08.957
Error: 没有新窗口,一直在等popup
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:114:11
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:33:23)
at Object.throw (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:14:53)
at rejected (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:6:65)
at runNextTicks (node:internal/process/task_queues:61:5)
at listOnTimeout (node:internal/timers:528:9)
at processTimers (node:internal/timers:502:7)
Given
切换账号'_TIHK113ljr5vq5bl'
01:04:43.790
Given
创建一笔IBU的支付订单并进入收银台
1382:52:05.998
| platform | ONLINE |
|---|---|
| merchantId | 200184 |
| currency | KRW |
| amount | 4900 |
| locale | zh-HK |
| uid | _TIHK113ljr5vq5bl |
Then
选择支付类'Hecto'
59:13:52.790
Then
填写三方要素信息''
00:31:31.415
Then
支付提交且submitPayment正常响应
467:09:30.166
Error: 没有新窗口,一直在等popup
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:114:11
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:33:23)
at Object.throw (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:14:53)
at rejected (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:6:65)
at runNextTicks (node:internal/process/task_queues:61:5)
at listOnTimeout (node:internal/timers:528:9)
at processTimers (node:internal/timers:502:7)
Given
切换账号'_TIHK113ljr5vq5bl'
01:26:24.124
Given
创建一笔IBU的支付订单并进入收银台
1388:57:40.665
| platform | ONLINE |
|---|---|
| merchantId | 200184 |
| currency | KRW |
| amount | 4900 |
| locale | en-US |
| uid | _TIHK113ljr5vq5bl |
Then
选择支付类'SamsungPay'
89:39:38.749
Then
填写三方要素信息'{"thirdPayerName": "bob", "thirdMobileNum": "12345678910"}'
441:01:49.124
Then
支付提交且submitPayment正常响应
494:18:27.664
Then
等待新窗口'SamsungPay'打开
3289:05:36.622
@thirdPartyPay
@online
Scenario Outline: 三方支付+coins+egift混付流程:KakaoPay (新窗口支付方式)
Given
使用Mock配置'queryEGift'
00:57:28.915
Given
切换账号'_TIHK113ljr5vq5bl'
01:34:21.707
Given
创建一笔IBU的支付订单并进入收银台
1309:35:15.040
| platform | ONLINE |
|---|---|
| merchantId | 200184 |
| currency | KRW |
| amount | 4900 |
| locale | en-US |
| uid | _TIHK113ljr5vq5bl |
Error: [31mTimed out 5000ms waiting for [39m[2mexpect([22m[31mlocator[39m[2m).[22mtoContainText[2m([22m[32mexpected[39m[2m)[22m
Locator: locator('#ui-auto-test-pc-OfficialPaySelection-COINS').locator('.official-item-total-text')
Expected string: [32m"10"[39m
Received string: [31m"- ₩ 131"[39m
Call log:
[2m- locator._expect with timeout 5000ms[22m
[2m - waiting for locator('#ui-auto-test-pc-OfficialPaySelection-COINS').locator('.official-item-total-text')[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- ₩ 4,900"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- ₩ 4,900"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- ₩ 4,900"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- ₩ 131"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- ₩ 131"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- ₩ 131"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- ₩ 131"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- ₩ 131"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- ₩ 131"[22m
at Proxy.(anonymous) (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/node_modules/playwright/lib/matchers/expect.js:174:37)
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:43:61
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:33:23)
at Object.next (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:14:53)
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:8:71
at __awaiter (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:4:12)
at showCoinsNum (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:39:56)
at World.(anonymous) (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/click.steps.ts:20:21)
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/click.steps.ts:33:23)
Then
等待1秒
0s
Then
勾选礼品卡
0s
Then
新增并使用礼品卡
0s
| cardNumber | cardPin |
|---|---|
| 4419 7864 1865 | 846602 |
Then
选择支付类'KakaoPay'
0s
Then
填写三方要素信息'{"thirdPayerName": "bob", "thirdMobileNum": "12345678910"}'
0s
Then
'KakaoPay'支付提交
0s
Then
等待请求'submitPayment'响应并校验code等于100000
0s
Then
校验服务submitPayment上送信息
0s
| coinsAmount | 131 |
|---|---|
| eGiftAmount | 1 |
| thirdPayAmount | 4768 |
Then
等待新窗口'KakaoPay'打开
0s
Then
等待2秒
0s
@thirdPartyPay
@online
Scenario Outline: 三方支付+coins+egift混付流程:Hecto (新窗口支付方式)
Given
使用Mock配置'queryEGift'
00:57:18.667
Given
切换账号'_TIHK113ljr5vq5bl'
01:07:41.123
Given
创建一笔IBU的支付订单并进入收银台
1331:16:26.625
| platform | ONLINE |
|---|---|
| merchantId | 200184 |
| currency | KRW |
| amount | 10000 |
| locale | zh-HK |
| uid | _TIHK113ljr5vq5bl |
Then
更改coins的使用数量为10
227:04:51.416
Then
等待1秒
281:48:41.125
Then
勾选礼品卡
34:56:47.123
Then
新增并使用礼品卡
144:50:15.415
| cardNumber | cardPin |
|---|---|
| 4419 7864 1865 | 846602 |
Then
选择支付类'Hecto'
38:20:18.084
Then
填写三方要素信息''
00:16:48.998
Then
'Hecto'支付提交
39:00:00.957
Then
等待请求'submitPayment'响应并校验code等于100000
674:47:26.834
Then
校验服务submitPayment上送信息
84:23:41.416
| coinsAmount | 131 |
|---|---|
| eGiftAmount | 1 |
| thirdPayAmount | 9868 |
Error: 没有新窗口,一直在等popup
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:114:11
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:33:23)
at Object.throw (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:14:53)
at rejected (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:6:65)
at runNextTicks (node:internal/process/task_queues:61:5)
at listOnTimeout (node:internal/timers:528:9)
at processTimers (node:internal/timers:502:7)
Then
等待2秒
0s
@thirdPartyPay
@online
Scenario Outline: 三方支付+coins+egift混付流程:SamsungPay (新窗口支付方式)
Given
使用Mock配置'queryEGift'
02:13:38.458
Given
切换账号'_TIHK113ljr5vq5bl'
10:16:56.417
Given
创建一笔IBU的支付订单并进入收银台
1500:09:43.332
| platform | ONLINE |
|---|---|
| merchantId | 200184 |
| currency | KRW |
| amount | 4900 |
| locale | en-US |
| uid | _TIHK113ljr5vq5bl |
Error: [31mTimed out 5000ms waiting for [39m[2mexpect([22m[31mlocator[39m[2m).[22mtoContainText[2m([22m[32mexpected[39m[2m)[22m
Locator: locator('#ui-auto-test-pc-OfficialPaySelection-COINS').locator('.official-item-total-text')
Expected string: [32m"10"[39m
Received string: [31m"- ₩ 131"[39m
Call log:
[2m- locator._expect with timeout 5000ms[22m
[2m - waiting for locator('#ui-auto-test-pc-OfficialPaySelection-COINS').locator('.official-item-total-text')[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- ₩ 4,900"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- ₩ 4,900"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- ₩ 4,900"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- ₩ 4,900"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- ₩ 131"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- ₩ 131"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- ₩ 131"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- ₩ 131"[22m
[2m - locator resolved to (span class="official-item-total-text")…(/span)[22m
[2m - unexpected value "- ₩ 131"[22m
at Proxy.(anonymous) (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/node_modules/playwright/lib/matchers/expect.js:174:37)
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:43:61
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:33:23)
at Object.next (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:14:53)
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:8:71
at __awaiter (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:4:12)
at showCoinsNum (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/utils.ts:39:56)
at World.(anonymous) (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/click.steps.ts:20:21)
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/coins/click.steps.ts:33:23)
Then
等待1秒
0s
Then
勾选礼品卡
0s
Then
新增并使用礼品卡
0s
| cardNumber | cardPin |
|---|---|
| 4419 7864 1865 | 846602 |
Then
选择支付类'SamsungPay'
0s
Then
填写三方要素信息'{"thirdPayerName": "bob", "thirdMobileNum": "12345678910"}'
0s
Then
'SamsungPay'支付提交
0s
Then
等待请求'submitPayment'响应并校验code等于100000
0s
Then
校验服务submitPayment上送信息
0s
| coinsAmount | 131 |
|---|---|
| eGiftAmount | 1 |
| thirdPayAmount | 4768 |
Then
等待新窗口'SamsungPay'打开
0s
Then
等待2秒
0s
Given
切换账号'_TIHK113ljr5vq5bl'
01:10:30.873
Given
创建一笔IBU的支付订单并进入收银台
1398:03:42.623
| platform | ONLINE |
|---|---|
| merchantId | 200184 |
| currency | KRW |
| amount | 4900 |
| locale | en-US |
| uid | _TIHK113ljr5vq5bl |
Then
选择支付类'KakaoPay'
97:11:13.290
Then
填写三方要素信息
431:03:12.833
| thirdPayerName | bob |
|---|---|
| thirdMobileNum | 12345678910 |
Then
失焦
46:33:45.124
Then
支付提交且submitPayment返回code为100000
476:40:20.333
Error: 没有新窗口,一直在等popup
at /Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:114:11
at step (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:33:23)
at Object.throw (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:14:53)
at rejected (/Users/zhang/Code/Trip/ui-auto-test/ibu-pay-ui-auto-test/test/steps/cashier/home/utils.ts:6:65)
at runNextTicks (node:internal/process/task_queues:61:5)
at listOnTimeout (node:internal/timers:528:9)
at processTimers (node:internal/timers:502:7)
Given
切换账号'_TIHK113ljr5vq5bl'
01:24:09.208
Given
创建一笔IBU的支付订单并进入收银台
1368:43:21.168
| platform | ONLINE |
|---|---|
| merchantId | 200184 |
| currency | KRW |
| amount | 4900 |
| locale | en-US |
| uid | _TIHK113ljr5vq5bl |
Then
选择支付类'ISP_APPCARD'
74:15:49.417
Then
支付提交且submitPayment返回code为100000
474:09:36.750
Given
切换账号'_TIHK113ljr5vq5bl'
01:14:18.124
Given
创建一笔IBU的支付订单并进入收银台
1196:12:10.873
| platform | ONLINE |
|---|---|
| merchantId | 200184 |
| currency | USD |
| amount | 150 |
| locale | en-US |
| uid | _TIHK113ljr5vq5bl |
Then
选择支付类'PayPal'
44:57:40.376
Then
PayPal支付提交、校验请求正常、新窗口打开成功
0s
// With Callbacks
Then (/^PayPal支付提交、校验请求正常、新窗口打开成功$/, (callback) => {
// Write code here that turns the phrase above into concrete actions
callback(null, 'pending');
});
// With Promises
Then (/^PayPal支付提交、校验请求正常、新窗口打开成功$/, () => {
// Write code here that turns the phrase above into concrete actions
return Promise.resolve('pending');
});
Given
使用Mock配置'queryEGift'
00:42:01.374
Given
切换账号'_TIHK113ljr5vq5bl'
00:38:57.166
Given
创建一笔IBU的支付订单并进入收银台
1458:46:50.914
| platform | ONLINE |
|---|---|
| merchantId | 200184 |
| currency | USD |
| amount | 150 |
| locale | en-US |
| uid | _TIHK113ljr5vq5bl |
Then
更改coins的使用数量为10
348:41:26.666
Then
等待1秒
280:57:45.248
Then
勾选礼品卡
44:50:44.667
Then
新增并使用礼品卡
91:12:45.042
| cardNumber | cardPin |
|---|---|
| 4419 7864 1865 | 846602 |
Then
选择支付类'PayPal'
47:13:52.583
Then
PayPal支付提交、校验请求正常、新窗口打开成功
0s
// With Callbacks
Then (/^PayPal支付提交、校验请求正常、新窗口打开成功$/, (callback) => {
// Write code here that turns the phrase above into concrete actions
callback(null, 'pending');
});
// With Promises
Then (/^PayPal支付提交、校验请求正常、新窗口打开成功$/, () => {
// Write code here that turns the phrase above into concrete actions
return Promise.resolve('pending');
});
Then
校验服务submitPayment上送信息
0s
| coinsAmount | 0.13 |
|---|---|
| eGiftAmount | 01.0000 |
| thirdPayAmount | 298.87 |